package com.haruhinav.service;

import com.haruhinav.entity.User;
import com.haruhinav.entity.vo.ResultVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserService {
    List<User> getAllUser(User user);

    User loginFindUser(String mid,String pwd);

    Map<String,Object>  findUserById(int uid);

    User findUserByMid(String mid);

    ResultVO insertUser(User user);
    //    修改用户信息
    ResultVO updateUser(User user);

//验证用户密码
    Map<String ,String> checkUserPassword(int id ,String password);

//    仅修改头像
    ResultVO updateUserFace(String faceUrl,int uid);

//    修改用户密码
    Map<String ,String> updateUserPswd (int id ,String password);

    ResultVO findUserByIdNoPswd(int uid);
}
